<!DOCTYPE html>
<html lang="zh-CN" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>修改用户</title>
</head>
<body>
<h3>修改用户</h3>
<hr/>
<form action="/user/update" method="post">
    <input type="hidden" name="id" th:value="${byid.id}">
    姓名：<input type="text" name="nam" th:value="${byid.nam}"/><br/>
    密码：<input type="text" name="pwd" th:value="${byid.pwd}"/><br/>
    性别：<input type="radio" name="sex" value="0" th:checked="${byid.sex} eq '0'? 'checked':''"/>女
    <input type="radio" name="sex" value="1" th:checked="${byid.sex} eq '1'? 'checked':''"/>男<br/>
    生日：<input type="date" name="birth" th:value="${byid.birth}"/><br/>
    <input type="submit" value="确定"/><br/>
</form>
</body>
</html>